package com.example.cloudcashierpos.bean;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Generated;

@Entity
public class corecmsprintdeskcategory {
    // 序列，作为主键且自增
    @Id(autoincrement = true)
    private long id;

    // 菜品 Id，可为空
    private Long deskCategoryId;

    // 打印方案 ID，可为空
    private Integer printSchemeId;

    // 是否选择，默认为 false
    private boolean selectedFlag = false;

    @Generated(hash = 829584664)
    public corecmsprintdeskcategory(long id, Long deskCategoryId,
            Integer printSchemeId, boolean selectedFlag) {
        this.id = id;
        this.deskCategoryId = deskCategoryId;
        this.printSchemeId = printSchemeId;
        this.selectedFlag = selectedFlag;
    }

    @Generated(hash = 1413776984)
    public corecmsprintdeskcategory() {
    }

    public long getId() {
        return this.id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public Long getDeskCategoryId() {
        return this.deskCategoryId;
    }

    public void setDeskCategoryId(Long deskCategoryId) {
        this.deskCategoryId = deskCategoryId;
    }

    public Integer getPrintSchemeId() {
        return this.printSchemeId;
    }

    public void setPrintSchemeId(Integer printSchemeId) {
        this.printSchemeId = printSchemeId;
    }

    public boolean getSelectedFlag() {
        return this.selectedFlag;
    }

    public void setSelectedFlag(boolean selectedFlag) {
        this.selectedFlag = selectedFlag;
    }

}
